function resolveQuickly(x) {
    return new Promise(resolve => {
        setTimeout(() => {
            console.log(x)
        }, 1);
    });
}
async function asyncTest() {
   await resolveQuickly(10);
    console.log(5);
}
asyncTest();